Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(forge): --disable-block-gas-limit flag #7287

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Mar 1, 2024

Motivation

ref disscussion in #7186 (comment)

Solution

Right now those gas limit reverts will still be breaking for some codebases, because this flag is not enabled by default. And if we want to make it a default, we should probably change API to --enable-block-gas-limit. Let's discuss here if we want this to be a breaking change or keep the previous behavior

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yeah, this makes perfect sense.

though also not sure what the default should be, I think for safety, making --disable opt-in makes sense, but --enable might be more convenient.

let's start with --disable

@Evalir
Copy link
Member

Evalir commented Mar 1, 2024

i'm leaning more for --disable personally. If we do find enough ppl complain about having to pass in this flag, we can just invert it later.

@klkvr klkvr merged commit 28e8013 into foundry-rs:master Mar 4, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants